Auto merge of #4995 - alexcrichton:relative-env, r=matklad
authorbors <bors@rust-lang.org>
Thu, 1 Feb 2018 19:12:19 +0000 (19:12 +0000)
committerbors <bors@rust-lang.org>
Thu, 1 Feb 2018 19:12:19 +0000 (19:12 +0000)
Fix `RUSTC=./relative-path` when building

This commit adjusts the compiler location logic to resolve `./relative-path`
before invoking rustc to ensure it's no longer cwd-relative. This is how many
other variables like `CARGO_HOME` work, so it's applying similar logic.


Trivial merge